Braintree\CustomerGateway S

Total Complexity 50
Dependencies 22
Dependents 1
Total lines 565
Lines of code 289
Logical lines of code 115
Comment lines 186
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
_initialize()
A
45 11 45
updateSignature()
S
46 4 39
search()
S
55 4 18
find()
S
57 3 16
_verifyGatewayResponse()
S
61 3 13
_validateId()
S
63 3 12
createSignature()
S
47 1 37
fetch()
S
60 2 13
isEqual()
S
77 2 3
_doUpdate()
S
72 1 5
_doCreate()
S
72 1 5
_defaultPaymentMethodFilter()
S
80 1 3
defaultPaymentMethod()
S
75 1 4
paymentMethods()
S
82 1 3
__toString()
S
75 1 4
updateNoValidate()
S
75 1 4
createNoValidate()
S
75 1 4
update()
S
66 1 9
all()
S
64 1 10
saleNoValidate()
S
75 1 4
sale()
S
67 1 9
delete()
S
70 1 6
creditNoValidate()
S
75 1 4
credit()
S
67 1 9
create()
S
74 1 4
__construct()
S
71 1 6